﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:VMuktiControls="clr-namespace:VMukti.Presentation.Controls"
	x:Class="VMukti.Presentation.Controls.CtlBuddies"
	x:Name="ucModules" VerticalContentAlignment="Stretch"  HorizontalContentAlignment="Stretch"
    Height="Auto" Width="Auto">


	<Grid VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Name="grdMain" Width="{Binding Path=Width, ElementName=ucModules, Mode=Default}" Height="{Binding Path=Height, ElementName=ucModules, Mode=Default}" Background="{DynamicResource Background}">
		<Grid.ColumnDefinitions>
			<ColumnDefinition Name="colDef1" />
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Name="rowDef1" Height="25"/>
			<RowDefinition Name="rowDef2" Height="70"/>
			<RowDefinition Name="rowDef3" Height="*"/>
		</Grid.RowDefinitions>

		<Canvas Height="25" HorizontalAlignment="Stretch" Grid.Column="0" Grid.Row="0" Background="{DynamicResource Title1}" >
			<Rectangle Height="25" Width="25" Fill="{DynamicResource ImgBuddies}"/>
			<TextBlock Canvas.Left="25" IsEnabled="True" x:Name="tblkTitle" Width="Auto" Height="23" FontSize="12" FontWeight="SemiBold" Text="My Buddies" TextWrapping="NoWrap" HorizontalAlignment="Stretch" Padding="2,3,2,2" />
			<Button Name="btnClose" Height="17" Canvas.Top="4" Canvas.Right="1" Width="17" Content="X" Click="btnClose_Click"  FontSize="9" Focusable="False" FontWeight="Bold" IsCancel="True"/>
		</Canvas>
		<Canvas Margin="0,5,0,0" Grid.RowSpan="3" Grid.Column="0" Grid.Row="1" x:Name="CnvFind" VerticalAlignment="Top" Height="45.182" Width="{Binding Path=Width, ElementName=grdMain, Mode=Default}">
			<TextBox Height="23" Text="" TextWrapping="Wrap" Width="100" Canvas.Left="5" Canvas.Top="2" FontSize="12" Name="txtAddBuddies"/>
			<!--<Button x:Name="btnFind" Content="Find" Width="40" BorderThickness="2,2,2,2" Focusable="False" Height="25" Canvas.Left="112" Canvas.Top="2" />-->
			<Button x:Name="btnAdd" Content="Add New Buddies" BorderThickness="2,2,2,2" Focusable="False" Height="25" Canvas.Top="39" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="100" Canvas.Left="5" />            
		</Canvas>
		<StackPanel Name="spContent" Grid.Row="2" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Grid.Column="0" Background="{DynamicResource Background}" Margin="0,5,0,0" >
			<VMuktiControls:CtlExpanderContent x:Name="objExpConBuddies" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Background="{DynamicResource Background}" />
		</StackPanel>
	</Grid>

</UserControl>